﻿<!DOCTYPE HTML>
<html lang="en">
<head>
    <script language=JavaScript>
        myArray = [["a1", "b1", "c1"], ["a2", "b2", "c2"], ["a3", "b3", "c3"]];
        for (let i = 0; i <= 2; i++) {
            document.write(myArray[i])
            document.write("<br>");
        }
        document.write("<hr>");
        for (i = 0; i < 3; i++) {
            for (j = 0; j < 3; j++) {
                document.write(myArray[i][j] + "  ");
            }
            document.write("<br>");
        }
    </script>
</head>
<body>
</body>
</html>
